Algorithms for Stochastically Rounded Elementary Arithmetic Operations in IEEE 754 Floating-Point Arithmetic

نویسندگان

چکیده

We present algorithms for performing the five elementary arithmetic operations ( $+$ , notation="LaTeX">$-$ ×, notation="LaTeX">$\div$ and notation="LaTeX">$\sqrt{\phantom{x}}$ ) in floating point with stochastic rounding, demonstrate value of these by discussing various applications where rounding is beneficial. The require that hardware be compliant IEEE 754 floating-point standard a pseudorandom number generator available. goal techniques to emulate when underlying does not support this mode, as case most existing CPUs GPUs. By simulating software, one has possibility explore behavior mode develop new even without having access implementing rounding—once such becomes available, it suffices replace proposed calls corresponding routines. When stochastically double precision operations, we propose are between 7.3 19 times faster than implementations use GNU MPFR library simulate extended precision. test our on tasks, including summation solvers ordinary differential equations, expected bring advantages.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The New IEEE-754 Standard for Floating Point Arithmetic

The IEEE-754 standard for Floating Point Arithmetic[1] that was in effect at the time of this seminar was adopted in 1985. That standard was intended for hardware implementation, although provisions were made for software implementation for operations. In addition to required operations, an appendix of recommended functions was also specified. Default exception handling was specified, and provi...

متن کامل

A Review on Ieee-754 Standard Floating Point Arithmetic Unit

Floating point operations in digital systems form an integral part in the design of many digital processors. Digital Signal Processor is the most important application of floating point operations. In the recent years many approaches for floating point operations have been proposed and their merits and demerits are compared. For floating point operations the operands are first converted into IE...

متن کامل

A Floating-Point Unit for Arithmetic Operations

In this paper we present a design for a floating point unit partially compliant with the IEEE 754 floating point standard. The unit fully implements comparisons and partially implements floating-point addition and multiplication. It is fully parametrized and may be used with floating point numbers whose composite fields have widths of any desired length.

متن کامل

IA-64 Floating-Point Operations and the IEEE Standard for Binary Floating-Point Arithmetic

This paper examines the implementation of floating-point operations in the IA-64 architecture from the perspective of the IEEE Standard for Binary Floating-Point Arithmetic [1]. The floating-point data formats, operations, and special values are compared with the mandatory or recommended ones from the IEEE Standard, showing the potential gains in performance that result from specific choices. T...

متن کامل

Panel: Revisions to the IEEE 754 Standard for Floating-Point Arithmetic

Almost twenty years ago the IEEE 754 binary floating-point standard was adopted. Since then almost every microprocessor as well as many programming languages have defined the floating-point arithmetic to be IEEE 754 compliant. From the many years experience in implementing the standard in hardware and writing floating-point programs, there have been numerous suggestions for revisions. All IEEE ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: IEEE Transactions on Emerging Topics in Computing

سال: 2021

ISSN: ['2168-6750', '2376-4562']

DOI: https://doi.org/10.1109/tetc.2021.3069165